String editing under a combination of constraints
نویسندگان
چکیده
Let X and Y be any two strings of finite lengths N and M , respectively, over a finite alphabet. An edit distance between X and Y is defined as the minimum sum of elementary edit distances associated with edit operations of substitutions, deletions, and insertions needed to transform X to Y . In this paper, the problem of efficient computation of such a distance is considered under the assumption that the numbers of edit operations are limited and that the maximum lengths, F and G, of runs of deletions and insertions are given, respectively. Besides, the edit sequence is ordered in a sense that between every two successive runs of substitutions there can be either at most one run of deletions followed by at most one run of insertions or just one run of deletions or insertions. An algorithm is derived that computes the minimum edit distance associated with editing X to Y subject to the specified constraints. The algorithm requires O(NM min{N,M}) time and O(NM) space. Possible applications for the synchronization error-correcting codes and for the cryptanalysis of certain stream ciphers are also discussed.
منابع مشابه
Constrained Many-to-One String Editing with Memory
A new constrained edit distance between an ordered set of input strings and a single output string is proposed. All the strings are assumed to have finite lengths and to be over a finite alphabet. Editing transformation respectively includes deletion of symbols from the input strings, combination of the so-reduced input strings by a function with memory, and substitution and insertion of symbol...
متن کاملAsymptotic Approximations of the Solution for a Traveling String under Boundary Damping
Transversal vibrations of an axially moving string under boundary damping are investigated. Mathematically, it represents a homogenous linear partial differential equation subject to nonhomogeneous boundary conditions. The string is moving with a relatively (low) constant speed, which is considered to be positive. The string is kept fixed at the first end, while the other end is tied with the ...
متن کاملImpact of Pollution Location on Time and Frequency Characteristics of Leakage Current of Porcelain Insulator String under Different Humidity and Contamination Severity
One of the important factors influencing outdoor insulators performance is pollution phenomenon. The pollution, especially during humidity condition, reduces superficial resistance of insulator and lead to a flow of Leakage Currents (LC) on the insulator surface, which may result in total flashover. The LC characteristics are affected by parameters such as nature and severity of pollution. Loca...
متن کاملThe Comparative Effect of Task Type and Learning Conditions on the Achievement of Specific Target Forms
The completion mode (individual, collaborative) of the tasks and the conditions under which these modes are performed have been reported to play an important role in language learning. The present study aimed to investigate the effects of employing text editing tasks performed both individually and collaboratively, on the achievement of English grammar under explicit and implicit learning condi...
متن کاملContextual Genetic Algorithms: Evolving Developmental Rules
A genetic algorithm scheme with a stochastic genotype/phenotype relation is proposed. The mechanisms responsible for this intermediate level of uncertainty, are inspired by the biological system of RNA editing found in a variety of organisms. In biological systems, RNA editing represents a significant and potentially regulatory step in gene expression. The artificial algorithm here presented, w...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Sci.
دوره 74 شماره
صفحات -
تاریخ انتشار 1993